package com.wy.dao;

import com.wy.bean.Dianpu;
import com.wy.bean.Shop;

import java.util.ArrayList;
import java.util.List;

public interface DianpuDao {

    //列表模糊分页
    public List<Dianpu> list(Dianpu dianpu);

    void insert(Dianpu dianpu);
    //查询所有商品
    List<Shop> getShops();
    //批量添加中间表
    void insertbth(ArrayList list);
    //根据主键id回显
    Dianpu getById(String did);

    void update(Dianpu dianpu);

    void deleteBydid(String did);
    //批量删除主表
    void deletebth(String[] dids);
    //批量删除中间表
    void deleteDsbth(String[] dids);

}
